package org.jdcenter.jndi.context.local;

import java.rmi.Remote;

import org.jdcenter.jndi.context.ProxyContext;
import org.jdcenter.jndi.context.RMIContext;

public abstract class RMIContextServer extends RMIContext{

	protected ProxyContext proxyContext = null;
	protected int port = 1099;
	protected String url = "//:1099/JDStream";
	
	protected RMIContextServer(){
		
	}
	protected RMIContextServer(int port){
		this.port = port;
		this.url = "//:"+port+"/JDStream";
	}
	
	public void setProxyContext(ProxyContext proxyContext){
		this.proxyContext = proxyContext;
	}
	
}
